from django.db import models

class header(models.Model):
    id = models.AutoField(primary_key=True, null=False,verbose_name="ID")
    header_name = models.CharField(null=False,verbose_name="导航菜单名称")
    index_num = models.IntegerField(null=False,verbose_name="导航菜单排序位置")
    Fid = models.ForeignKey('self',on_delete=models.CASCADE,null=True,verbose_name="子菜单的父ID")
    is_del = models.BooleanField(null=False ,default=0,verbose_name="是否删除")

